package com.sunyard.utils.tianan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @description: tianan验签信息
 * @author: DUANYUBIN
 * @create: 2021-03-12 08:51
 **/
@Data
@ApiModel(value = "tianan验签信息")
public class TianAnVerify implements Serializable {

    @ApiModelProperty(hidden = true)
    private static final long serialVersionUID = -8259700223950740922L;

    /**
     * dn 证书
     */
    @ApiModelProperty(value = "dn 证书")
    @NotBlank(message = "dn证书不能为空")
    private String dn;

    /**
     * 签名串
     */
    @ApiModelProperty(value = "签名串")
    @NotBlank(message = "签名串不能为空")
    private String signData;

    /**
     * 原文
     */
    @ApiModelProperty(value = "原文")
    private String msg;

    /**
     * 原文
     */
    @ApiModelProperty(value = "原文")
    private byte[] byteMsg;
}
